﻿using ExpressesClass.BestApi.Utils;
using ExpressesClass.DepponApi.Base;
using ExpressesClass.DepponApi.billQueryNotify.response;
using ExpressesClass.DepponApi.Util;
using System;

namespace ExpressesClass.DepponApi.billQueryNotify.request
{
    public class BillQueryNotifyReq : DepponRequest
    {
        public BillQueryNotifyReq()
        {
            this.logisticCompanyID = "";
            this.logisticID = "";
        }

        public String logisticCompanyID { get; set; }
        public String logisticID { get; set; }

        public override string GetUrl()
        {
            return ConfigUrl.GetUrl("QUERY");
        }

        public override DepponResponse makeResponse(string rsp)
        {
            return JsonParser.jsonToObj<BillQueryNotifyRsp>(rsp);
        }
    }
}
